.center {
    display: flex;
    justify-content: center;
    align-items: center;

    &.horizontal {
        flex-direction: row;
    }

    &.vertical {
        flex-direction: column;
    }
}